package com.eian.boot.module.system.associations.role.dept.model.entity;

import com.eian.boot.mybatis.core.model.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 角色部门关联表 实体类（数据权限）
 *
 * @author alex.meng
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "t_sys_role_dept")
public class SysRoleDeptEntity extends BaseEntity {

    /**
     * 角色ID
     */
    @Column(value = "role_id")
    private Long roleId;

    /**
     * 部门ID
     */
    @Column(value = "dept_id")
    private Long deptId;
}

